import { createRouter, createWebHistory } from 'vue-router'
import LcuView from '../components/LcuView'
import AllTeams from '../components/AllTeams'
import LyuView from '../components/LyuView'
import SeauView from '../components/SeauView'
import SduView from '../components/SduView'
import SdlgView from '../components/SdlgView'
import InitView from '../components/InitView'
import ConcernedView from '../components/ConcernedView'
import FormView from '../components/FormView'
import StarView from '../components/StarView'
const routes = [
  {
    path : "/",
    name : "首页",
    component: InitView,
  },
  {
    path : "/lyu/",
    name : "临沂大学",
    component: LyuView,
  },
  {
    path : "/lcu/",
    name: "聊城大学",
    component: LcuView,
  },
  {
    path : "/all/",
    name: "全部队伍",
    component : AllTeams,
  },
  {
    path : "/sdu/",
    name: "山东大学",
    component : SduView,
  },
  {
    path : "/sdlgu/",
    name: "山东理工大学",
    component : SdlgView,
  },
  {
    path : "/seau/",
    name: "中国海洋大学",
    component : SeauView,
  },
  {
    path : "/concerned/",
    name: "关注队伍",
    component : ConcernedView,
  },
  {
    path : "/form/",
    name: "正式队伍",
    component : FormView,
  },
  {
    path : "/star/",
    name: "打星队伍",
    component : StarView,
  },

]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
